﻿using SimpleMediaPlayer;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 大一项目
{
    public partial class AddForm : Form
    {
        public AddForm()
        {
            InitializeComponent();
        }

        private void label1_Click(object sender, EventArgs e)
        {
            
        }

        private void label3_Click(object sender, EventArgs e)
        {
           
        }

        private void AddForm_Load(object sender, EventArgs e)
        {
            mainForm mainForm = new mainForm();
            this.Show();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string sql = string.Format("insert into from userinfo('{0}','{1}')", textBox1.Text, textBox2.Text);
            MessageBox.Show("添加成功！");
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
